import request from "@/axios/request";
import url from "@/axios/url";
const { mesUrl } = url();
// 导出url
export const exportUrl = `${mesUrl}mesScanRecordDefective/getProcessExceptionListExport`;
// 产品工序异常分析图
export function getProcessExceptionView (params = {}) {
  return request({
    url: `${mesUrl}mesScanRecordDefective/getProcessExceptionView`,
    method: "get",
    params,
  });
}
// 产品工序异常分析列表
export function getProcessExceptionList (params = {}) {
  return request({
    url: `${mesUrl}mesScanRecordDefective/getProcessExceptionList`,
    method: "get",
    params,
  });
}
